Hamilton equation

Also, consider when the phase space is TM. The physical motion can be described by Γ:RTQ that makes the graph commutative: Γ˙(t)=#dH(Γ(t)), where on the right is the Hamilton vector field.
ref: the Architecture of Mechanics by Yujin Tong, the following graph is also from him.

Hamilton.png